package com.template.domain.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

public class MenuParams {

    @Getter
    @Setter
    public static class Add {
        @NotBlank
        private String name;
        private String perms;
        private String icon;
        @NotNull
        private Integer type; // 0:目录, 1:菜单, 2：按钮
        private String path;
        private String component;
        private Integer order;
        private Long parentId;
    }
}
